package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.dto.SetmealDto;

/**
 * 套餐业务层接口
 *
 * @Name : SetmealService
 * @Author : WuQiang
 * @Date : 2022-08-014 16:18
 * @Description : 套餐业务层接口
 */
public interface SetmealService extends IService<Setmeal> {

    Boolean saveWithDish(SetmealDto setmealDto);

    Page<SetmealDto> page(Long pageNum, Long pageSize, String name);

    Boolean delByIds(Long[] ids);

    Boolean updateStatus(Integer status, Long[] ids);

    SetmealDto fingById(Long id);

    Boolean updateWithSetmealDish(SetmealDto setmealDto);
}
